home *** CD-ROM | disk | FTP | other *** search
/ BBS Toolkit / BBS Toolkit.iso / qbbs / vd160r.zip / VDSAMPLE.ZIP / VALIDATE.BAT < prev    next >
DOS Batch File  |  1991-03-13  |  2KB  |  86 lines

  1. @echo off
  2. cls
  3. Echo  Validate.Bat -  by Cabell Clarke
  4. Echo                  Boot Factory BBS - FidoNet 1:264/19
  5. Echo.
  6. Echo                  Last Update: 13 Mar 91
  7. Echo.
  8. rem
  9. rem                   This Batch file runs ValiDOOR from a Type 15 Exit
  10. rem
  11.  
  12.    Vd
  13.  
  14.    if errorlevel 12 goto E12
  15.    if errorlevel 11 goto E11
  16.    if errorlevel 10 goto E10
  17.    if errorlevel  9 goto E09
  18.    if errorlevel  8 goto E08
  19.    if errorlevel  7 goto E07
  20.    if errorlevel  6 goto E06
  21.    if errorlevel  5 goto E05
  22.    if errorlevel  4 goto E04
  23.    if errorlevel  3 goto E03
  24.    if errorlevel  2 goto E02
  25.    if errorlevel  1 goto E01
  26.  
  27.    MALE + Vdor Validation Successful >> %LOG%
  28.    goto xit
  29.  
  30. :E12
  31.    Male ! Vdor Bad Key File >> %log%
  32.    goto Return
  33.  
  34. :E11
  35.    Male ! Vdor Bad Number (in BadNumbr.Ctl File) >> %log%
  36.    goto Xit
  37.  
  38. :E10
  39.    Male ! Vdor Voice Detection >> %log%
  40.    goto Xit
  41.  
  42. :E09
  43.    Male ! Vdor Lost Carrier >> %log%
  44.    goto Xit
  45.  
  46. :E08
  47.    Male ! Vdor Inactivity Timeout >> %log%
  48.    goto Xit
  49.  
  50. :E07
  51.    Male ! Vdor LD Attempt not in TimeSlot >> %log%
  52.    goto Return
  53.  
  54. :E06
  55.    Male ! Vdor Could'nt find a FOSSIL Driver >> %log%
  56.    goto Xit
  57.  
  58. :E05
  59.    Male ! Vdor User Abort at menu >> %log
  60.    Goto Return
  61.  
  62. :E04
  63.    Male ! Vdor Duplicate Phone Number >> %log%
  64.    goto Return
  65.  
  66. :E03
  67.    Male ! Vdor Sysop Name missing (VD.CFG) >> %log
  68.    goto Return
  69.  
  70. :E02
  71.    Male ! Vdor User Not Validated >> %log%
  72.    goto Xit
  73.  
  74. :E01
  75.    Male ! Vdor File Missing >> %log%
  76.    goto Return
  77.  
  78. :xit
  79.    Dtr OFF
  80.    Dtr ON
  81.    AT Z
  82.    AT H1
  83.  
  84. :Return
  85.    Exit
  86.